home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 1999-08-31 | 905 b | 41 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="Program Options\Notepad"
- "NAME"="Notepad Options"
- "VERSION"="1.33"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Enable default word-wrap"
- "DESCRIPTION 1"="Some options for Notepad."
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
-
-
- Sub Plugin_Initialize
- i=RegReadValue("HKCU\Software\Microsoft\Notepad\fWrap")
- if i=1 then SetUIElement 1,true
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue("HKCU\Software\Microsoft\Notepad\fWrap","1",2)
- else
- Call RegWriteValue("HKCU\Software\Microsoft\Notepad\fWrap","0",2)
- end if
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-